﻿using MySql.Data.MySqlClient;
using System;
using Dao;
using System.Collections.Generic;
using System.Text;

namespace ProductionTools
{
    public  class DB
    {
        
        public static Database MySqlDb()
        { 
           
            MySqlConnection connection = new MySqlConnection("server=47.106.105.34;uid=ruanjh;pwd=rjh6310137;database=Base_Admin");
            connection.Open();
            Database db = new Database(connection);
            return db;
        }
    }
}
